#include"process.h"
#include<stdio.h>
#include<unistd.h>


 double total =1024;
 double speed = 1;

void Download()
{
 double current = 0;
 while(current <= total)
{
     flush(total,current);
     usleep(3000);//充当下载数据
     current += speed;
}			
printf("\ndownload %.21fMB Done\n",current);		
}
int main()
{





	Download();
	//	 prijdt();
	return 0;
}

